package com.aistar.mapper;

import com.aistar.pojo.ChoiceComment;
import com.aistar.pojo.ChoiceCommentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ChoiceCommentMapper {
    int countByExample(ChoiceCommentExample example);

    int deleteByExample(ChoiceCommentExample example);

    int deleteByPrimaryKey(Integer choiceCommentId);

    int insert(ChoiceComment record);

    int insertSelective(ChoiceComment record);

    List<ChoiceComment> selectByExample(ChoiceCommentExample example);

    ChoiceComment selectByPrimaryKey(Integer choiceCommentId);

    int updateByExampleSelective(@Param("record") ChoiceComment record, @Param("example") ChoiceCommentExample example);

    int updateByExample(@Param("record") ChoiceComment record, @Param("example") ChoiceCommentExample example);

    int updateByPrimaryKeySelective(ChoiceComment record);

    int updateByPrimaryKey(ChoiceComment record);
}